<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
    <title><%= htmlWebpackPlugin.options.title %></title>
    <!--进场loading的css,因为是开场一瞬间所以要避免用link标签引入造成额外多余的下载-->
    <style type="text/css">
      #entry-load {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        /*change these sizes to fit into your project*/
        width: 100px;
        height: 100px;
      }
      #entry-load hr {
        border: 0;
        margin: 0;
        width: 40%;
        height: 40%;
        position: absolute;
        border-radius: 50%;
        animation: spin 2s ease infinite;
      }
      #entry-load :first-child {
        background: #19a68c;
        animation-delay: -1.5s;
      }
      #entry-load :nth-child(2) {
        background: #f63d3a;
        animation-delay: -1s;
      }
      #entry-load :nth-child(3) {
        background: #fda543;
        animation-delay: -0.5s;
      }
      #entry-load :last-child {
        background: #193b48;
      }

      @keyframes spin {
        0%,
        100% {
          transform: translate(0);
        }
        25% {
          transform: translate(160%);
        }
        50% {
          transform: translate(160%, 160%);
        }
        75% {
          transform: translate(0, 160%);
        }
      }
    </style>
  </head>
  <body>
    <noscript>
      <strong
        >We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
        properly without JavaScript enabled. Please enable it to
        continue.</strong
      >
    </noscript>
    <!--进场loading的html-->
    <div id="entry-load">
      <hr />
      <hr />
      <hr />
      <hr />
    </div>
    <div id="app"></div>
    <div id="rich-text"></div>
    <!-- built files will be auto injected -->
  </body>
</html>
